Cocktail Help Reference
EntityManagerProvider<T> Class Members
See Also  Properties  Methods  Events Send Feedback
Cocktail Assembly > Cocktail Namespace : EntityManagerProvider<T> Class


Glossary Item Box

The following tables list the members exposed by EntityManagerProvider<T>.

Public Constructors

 NameDescription
Public ConstructorEntityManagerProvider<T> ConstructorInitializes a new instance.  
Top

Public Properties

 NameDescription
Public PropertyConnectionOptionsSpecifies the ConnectionOptions used by the current EntityManagerProvider.  
Public PropertyHasValidationErrorReturns true if any entities in the EntityManager cache have validation errors.  
Public PropertyIsSavingReturns true if a save is in progress. A System.InvalidOperationException is thrown if EntityManager.SaveChangesAsync is called while a previous SaveChangesAsync is still in progress.  
Public PropertyManagerReturns the EntityManager managed by this provider.  
Top

Public Methods

 NameDescription
Public MethodConfigureConfigures the current EntityManagerProvider.  
Top

Protected Methods

 NameDescription
Protected MethodCreateEntityManagerCreates a new EntityManager instance.  
Protected MethodOnDataChangedTriggers the DataChanged event.  
Protected MethodOnEntityChangedTriggers the EntityChanged event.  
Protected MethodOnManagerCreatedTriggers the ManagerCreated event.  
Top

Public Events

 NameDescription
Public EventDataChangedSignals that a Save of at least one entity has been performed or changed entities have been imported from another entity manager. Clients may use this event to force a data refresh.  
Public EventEntityChangedFired whenever an entity's state has changed in any significant manner.  
Public EventManagerCreatedEvent fired after the EntityManager got created.  
Top

See Also

© 2013 All Rights Reserved.